20250823_030957.187 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.188 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.189 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.189 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4xODlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDBkYWExMmQtOThmNi00ODUzLWJlMGItYWEyMzlhZWM4OGY2IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.190 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.189Z", "action": "gathered", "update_id": "40daa12d-98f6-4853-be0b-aa239aec88f6", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.190 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.189Z", "action": "gathered", "update_id": "40daa12d-98f6-4853-be0b-aa239aec88f6", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.190 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.190 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.191 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.191 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.189Z", "action": "gathered", "update_id": "40daa12d-98f6-4853-be0b-aa239aec88f6", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.191 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["<<>>"] 20250823_030957.191 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.191 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}]} 20250823_030957.192 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.189Z", "action": "gathered", "update_id": "40daa12d-98f6-4853-be0b-aa239aec88f6", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.192 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.189Z", "action": "gathered", "update_id": "40daa12d-98f6-4853-be0b-aa239aec88f6", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.192 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.193 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.193 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.203 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250823_030957.204 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.204 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/"}}] 20250823_030957.204 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.204 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.205 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.205 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.212 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.212 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.212 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.212 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.213 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250823_030957.213 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250823_030957.213 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.218 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250823_030957.218 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.218 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/"}}] 20250823_030957.218 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.219 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.219 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.219 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.226 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 20250823_030957.226 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.229 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.229 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250823_030957.229 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.229 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250823_030957.229 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.235 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.236 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.236 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.236 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yMzZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYmQ3MDQxZDUtMDdmZC00Yjc1LWEwMTAtM2E3NzgwZDJlNTQ1IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.237 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.236Z", "action": "gathered", "update_id": "bd7041d5-07fd-4b75-a010-3a7780d2e545", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.237 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.236Z", "action": "gathered", "update_id": "bd7041d5-07fd-4b75-a010-3a7780d2e545", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.237 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.237 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.237 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.238 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.236Z", "action": "gathered", "update_id": "bd7041d5-07fd-4b75-a010-3a7780d2e545", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.238 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.238 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.239 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yMzhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhOTA4MTc5ZS0zZmRiLTRlNTYtOGFhNy02OWI4ZmM3NzAwYjgiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.239 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.240 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.238Z", "action": "updated", "update_id": "a908179e-3fdb-4e56-8aa7-69b8fc7700b8", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.240 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250823_030957.240 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.240 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.240 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.241 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.241 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.241 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.241 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.257 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.258 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.258 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.259 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yNTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMmNmOGRlY2MtMTY0My00OTRlLWFkYWQtZDg5NmJjMTQxMWRjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.259 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.259Z", "action": "gathered", "update_id": "2cf8decc-1643-494e-adad-d896bc1411dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.259 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.259Z", "action": "gathered", "update_id": "2cf8decc-1643-494e-adad-d896bc1411dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.260 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.260 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.259Z", "action": "gathered", "update_id": "2cf8decc-1643-494e-adad-d896bc1411dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.260 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250823_030957.261 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250823_030957.261 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yNjFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzZDYyNThiNy05M2QxLTQ0YjctOTBmOC1hMTBlY2JhMzI1YWMiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250823_030957.261 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.262 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.261Z", "action": "updated", "update_id": "3d6258b7-93d1-44b7-90f8-a10ecba325ac", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.262 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250823_030957.262 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.261Z", "action": "updated", "update_id": "3d6258b7-93d1-44b7-90f8-a10ecba325ac", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20250823_030957.262 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.262 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.277 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.278 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.278 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.279 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yNzhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYjYxOTAwNmQtYmIxOS00NGM2LThiNDktYTk1OWQ2OTM0ZWQyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.279 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.278Z", "action": "gathered", "update_id": "b619006d-bb19-44c6-8b49-a959d6934ed2", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.278Z", "action": "gathered", "update_id": "b619006d-bb19-44c6-8b49-a959d6934ed2", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.279 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.280 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.278Z", "action": "gathered", "update_id": "b619006d-bb19-44c6-8b49-a959d6934ed2", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.280 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250823_030957.281 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250823_030957.281 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yODFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjOTU3M2M0Yy00MzZjLTQwN2MtOGU1Zi1lOTUyNDY5Y2U4YjkiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250823_030957.281 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.282 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.281Z", "action": "updated", "update_id": "c9573c4c-436c-407c-8e5f-e952469ce8b9", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250823_030957.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.282 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.282 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.281Z", "action": "updated", "update_id": "c9573c4c-436c-407c-8e5f-e952469ce8b9", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.283 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.283 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.283 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4yODNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjNDgyNjE2ZC0yMmM0LTRjZWYtYmVjMC03ZWY0ZWViOTRmOGUiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.284 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.284 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.283Z", "action": "updated", "update_id": "c482616d-22c4-4cef-bec0-7ef4eeb94f8e", "policies_count": 2}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.284 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250823_030957.284 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.285 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.304 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zMDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTcxNjRkY2MtMjhlNS00ODE0LTllZWUtZTUxMGI3NjA5ZTFkIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.306 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.306Z", "action": "gathered", "update_id": "a7164dcc-28e5-4814-9eee-e510b7609e1d", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.307 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.306Z", "action": "gathered", "update_id": "a7164dcc-28e5-4814-9eee-e510b7609e1d", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.307 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.307 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.307 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.308 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.306Z", "action": "gathered", "update_id": "a7164dcc-28e5-4814-9eee-e510b7609e1d", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.308 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.308 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.308 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zMDhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlYjJiYzk5MS05MDg0LTQ5ZTMtYmNlMi1lMDc2ZWEyMDFiNmUiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.309 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.308Z", "action": "updated", "update_id": "eb2bc991-9084-49e3-bce2-e076ea201b6e", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.310 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.311 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.325 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 20250823_030957.326 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.329 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.330 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.331 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.331 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zMzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzc4ZjU0YTEtNjUwNC00ZDE2LWI5YjktZmY3OWQ2MjExOGI5IiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.331 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.331Z", "action": "gathered", "update_id": "c78f54a1-6504-4d16-b9b9-ff79d62118b9", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.332 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.331Z", "action": "gathered", "update_id": "c78f54a1-6504-4d16-b9b9-ff79d62118b9", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.332 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.332 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.332 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.332 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.333 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.333 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.333 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.333 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.333 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.333 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.342 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.343 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) 20250823_030957.343 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) 20250823_030957.343 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.347 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250823_030957.348 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.348 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/"}}] 20250823_030957.348 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.348 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.349 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.349 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.356 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.357 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.358 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.358 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zNThaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDk3OTJhOGMtYmQ0MC00YWMwLWI1MDktZjczZTMwNTIwY2ZjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.358 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.358Z", "action": "gathered", "update_id": "d9792a8c-bd40-4ac0-b509-f73e30520cfc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.359 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.358Z", "action": "gathered", "update_id": "d9792a8c-bd40-4ac0-b509-f73e30520cfc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.359 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.359 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.368 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.369 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.370 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.370 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zNzBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjRjYWY0MjYtMWU2Zi00YmE4LWEzNTMtMDI4ZGY0ZWM3Y2IwIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.370 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.370Z", "action": "gathered", "update_id": "24caf426-1e6f-4ba8-a353-028df4ec7cb0", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.371 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.370Z", "action": "gathered", "update_id": "24caf426-1e6f-4ba8-a353-028df4ec7cb0", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.371 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.371 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.370Z", "action": "gathered", "update_id": "24caf426-1e6f-4ba8-a353-028df4ec7cb0", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.371 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250823_030957.372 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250823_030957.372 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zNzJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmZmUzODRhNC01NmJkLTQyZTAtYWFkOC00OWU2NzgyMzRiOGIiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250823_030957.372 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.373 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.372Z", "action": "updated", "update_id": "ffe384a4-56bd-42e0-aad8-49e678234b8b", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.373 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.372Z", "action": "updated", "update_id": "ffe384a4-56bd-42e0-aad8-49e678234b8b", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.374 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250823_030957.374 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250823_030957.374 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.372Z", "action": "updated", "update_id": "ffe384a4-56bd-42e0-aad8-49e678234b8b", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.374 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_multi', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250823_030957.375 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.372Z", "action": "updated", "update_id": "ffe384a4-56bd-42e0-aad8-49e678234b8b", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20250823_030957.375 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.375 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.394 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.394 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.395 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.395 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny4zOTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTk1ODVmZWUtZjlkMy00ZGJiLTgzYTEtOTM4MWQ1ZTk3NmRjIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.395 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.395Z", "action": "gathered", "update_id": "99585fee-f9d3-4dbb-83a1-9381d5e976dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.396 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.395Z", "action": "gathered", "update_id": "99585fee-f9d3-4dbb-83a1-9381d5e976dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.396 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.396 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.395Z", "action": "gathered", "update_id": "99585fee-f9d3-4dbb-83a1-9381d5e976dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.397 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/"}}] 20250823_030957.397 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.397 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.397 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.395Z", "action": "gathered", "update_id": "99585fee-f9d3-4dbb-83a1-9381d5e976dc", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.397 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.411 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250823_030957.412 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.412 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.412 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.413 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.413 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.422 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.423 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.423 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.423 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40MjNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYjI1ZTk0ZjItZDQxNC00OTk0LWEyNjktMjAxZWI5OThlOTMyIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.424 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.423Z", "action": "gathered", "update_id": "b25e94f2-d414-4994-a269-201eb998e932", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.424 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.423Z", "action": "gathered", "update_id": "b25e94f2-d414-4994-a269-201eb998e932", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.424 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.424 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.423Z", "action": "gathered", "update_id": "b25e94f2-d414-4994-a269-201eb998e932", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.425 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_multi", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250823_030957.425 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250823_030957.425 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40MjVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIwZDRmNjNmNy02MTMzLTQ2ZTktOTllZC1jY2YxNjYzNjBjMDgiLCAicG9saWNpZXNfY291bnQiOiAwfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250823_030957.426 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.426 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.425Z", "action": "updated", "update_id": "0d4f63f7-6133-46e9-99ed-ccf166360c08", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.426 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.427 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.427 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.425Z", "action": "updated", "update_id": "0d4f63f7-6133-46e9-99ed-ccf166360c08", "policies_count": 0}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.427 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.427 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.428 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40MjhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4MzIyMDUxMy02YTJhLTRkMTItOGUyYi0yNjgzNWZhY2NiZWMiLCAicG9saWNpZXNfY291bnQiOiAyfQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.428 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.428 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.428Z", "action": "updated", "update_id": "83220513-6a2a-4d12-8e2b-26835faccbec", "policies_count": 2}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.429 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250823_030957.429 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.429 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.429 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.447 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.447 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.448 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.448 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.448 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20250823_030957.448 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250823_030957.448 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.453 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.454 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.454 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.455 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40NTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDliN2NiMmItYWVjOS00M2YxLTgwYmQtMWU0Nzg3OGI0ZjgzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.455 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.455Z", "action": "gathered", "update_id": "d9b7cb2b-aec9-43f1-80bd-1e47878b4f83", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.455 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.455Z", "action": "gathered", "update_id": "d9b7cb2b-aec9-43f1-80bd-1e47878b4f83", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.456 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.456 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.456 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.456 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.455Z", "action": "gathered", "update_id": "d9b7cb2b-aec9-43f1-80bd-1e47878b4f83", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.457 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.457 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.457 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40NTdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiZTEzMDkxNC02OGEwLTRjYzQtYjI3Mi0yYWQxNjlkOGEyZGYiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.458 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.458 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.457Z", "action": "updated", "update_id": "be130914-68a0-4cc4-b272-2ad169d8a2df", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.458 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250823_030957.458 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.459 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": ["damaged config"], "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.459 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.459 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.459 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.459 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.459 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.473 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.474 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) 20250823_030957.474 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) 20250823_030957.474 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.478 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.479 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.479 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.480 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40ODBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMzM2ZDI3ZmUtMDIzYS00MTAzLWE2ZjctNDg0YWE1YTU5ZDYzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.480 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.480Z", "action": "gathered", "update_id": "336d27fe-023a-4103-a6f7-484aa5a59d63", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.480 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.480Z", "action": "gathered", "update_id": "336d27fe-023a-4103-a6f7-484aa5a59d63", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.481 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.481 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250823_030957.481 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250823_030957.481 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.480Z", "action": "gathered", "update_id": "336d27fe-023a-4103-a6f7-484aa5a59d63", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.482 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["monkeyed.Config_multi"] 20250823_030957.482 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250823_030957.482 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny40ODJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJjNmI4NjgyOS0yODhkLTQ3YjktODg2Mi0xNTg0MGUzMmNiMzIiLCAicG9saWNpZXNfY291bnQiOiA0fQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0yM1QwNDowOTo1Ny4xNjRaIn0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.483 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.483 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.482Z", "action": "updated", "update_id": "c6b86829-288d-47b9-8862-15840e32cb32", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.483 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}} 20250823_030957.484 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20250823_030957.485 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.500 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250823_030957.500 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.500 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/"}}] 20250823_030957.501 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.501 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.501 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.501 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.509 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250823_030957.509 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.510 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250823_030957.510 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.510 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.510 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.510 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250823_030957.518 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.519 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.519 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.520 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0yM1QwMzowOTo1Ny41MTlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZThlNzczMjEtNDBhYi00OGE3LWE2YzYtYzcwNmZkMzMxODUzIiwgInBvbGljaWVzX2NvdW50IjogNH0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDQ6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMjNUMDM6MDk6NTcuMTY0WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTIzVDA2OjA5OjU3LjE2NFoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250823_030957.520 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.519Z", "action": "gathered", "update_id": "e8e77321-40ab-48a7-a6c6-c706fd331853", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.520 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.519Z", "action": "gathered", "update_id": "e8e77321-40ab-48a7-a6c6-c706fd331853", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}} 20250823_030957.521 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20250823_030957.521 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.519Z", "action": "gathered", "update_id": "e8e77321-40ab-48a7-a6c6-c706fd331853", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.521 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/"}}] 20250823_030957.521 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250823_030957.522 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"} 20250823_030957.522 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"id": "test_ms_name", "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}}}, "plugin": {"package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null}, "type": "node-instance", "task_name": null, "task_id": null, "task_queue": null, "operation": {"retry_number": null, "name": null, "max_retries": null}, "execution_id": "test_dcae_policy_exe_id", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "policies_event": {"timestamp": "2025-08-23T03:09:57.519Z", "action": "gathered", "update_id": "e8e77321-40ab-48a7-a6c6-c706fd331853", "policies_count": 4}, "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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2025-08-23T04:09:57.164Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-23T03:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"property": null, "config": {"policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2025-08-23T06:09:57.164Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "type": "JSON", "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}}, "id": "test_ms_id", "relationships": [{"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_node_id_2", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "weird_policy_5_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T05:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "non_policies_node_name", "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}}, "instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T03:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T04:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"runtime_properties": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T06:09:57.164Z"}, "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}, "id": "dcae_policy_b_node_id", "relationships": []}}}, {"type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"node": {"id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"property": null, "responseAttributes": {}, "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2025-08-23T07:09:57.164Z"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}}}]}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null} 20250823_030957.522 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear