20260207_030958.953 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.954 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030958.954 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.955 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OC45NTRaIiwgInVwZGF0ZV9pZCI6ICIwNjE2OTY1ZS05MjFhLTRiNzUtYWY5Yy0xYmQwMDY4MDgxZjAiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030958.955 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.954Z", "update_id": "0616965e-921a-4b75-af9c-1bd0068081f0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.955 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.954Z", "update_id": "0616965e-921a-4b75-af9c-1bd0068081f0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030958.955 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030958.956 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030958.962 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260207_030958.963 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.963 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/"}}] 20260207_030958.963 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030958.963 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.964 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.964 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030958.970 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.971 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260207_030958.971 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.971 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260207_030958.971 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030958.976 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260207_030958.976 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.976 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030958.976 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.977 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.977 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030958.985 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.986 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030958.986 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.986 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OC45ODZaIiwgInVwZGF0ZV9pZCI6ICI4YTg5YTZkYy02ODdkLTQ1YzItOGFmYS1kZjcxOTI0NTU5YTkiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030958.987 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.986Z", "update_id": "8a89a6dc-687d-45c2-8afa-df71924559a9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.987 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.986Z", "update_id": "8a89a6dc-687d-45c2-8afa-df71924559a9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030958.987 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030958.988 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.986Z", "update_id": "8a89a6dc-687d-45c2-8afa-df71924559a9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.988 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260207_030958.988 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260207_030958.989 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OC45ODhaIiwgInVwZGF0ZV9pZCI6ICI3Nzc5MjU4MC0zMzYyLTQ3MzMtYWJiOC04ZTI2N2U3MWM3YTkiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260207_030958.989 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.989 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.988Z", "update_id": "77792580-3362-4733-abb8-8e267e71c7a9", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.990 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"}} 20260207_030958.990 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030958.990 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030958.990 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.988Z", "update_id": "77792580-3362-4733-abb8-8e267e71c7a9", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.991 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030958.991 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030958.991 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OC45OTFaIiwgInVwZGF0ZV9pZCI6ICJjZjI5YmRmYS0zZDYzLTRkY2EtYjgzMC1iZjYwM2I1YzkzNDEiLCAicG9saWNpZXNfY291bnQiOiAyLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030958.991 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030958.992 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:58.991Z", "update_id": "cf29bdfa-3d63-4dca-b830-bf603b5c9341", "policies_count": 2, "action": "updated"}, "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_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030958.992 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260207_030958.992 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030958.992 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030958.992 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.012 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 20260207_030959.012 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.016 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.017 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.017 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.017 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wMTdaIiwgInVwZGF0ZV9pZCI6ICIzNjgwM2RhNC0xYmM0LTQwOWYtYmUxNy04MTljNTAzMjcwZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.018 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.017Z", "update_id": "36803da4-1bc4-409f-be17-819c503270ed", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.018 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.017Z", "update_id": "36803da4-1bc4-409f-be17-819c503270ed", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.018 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.019 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.019 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030959.019 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.017Z", "update_id": "36803da4-1bc4-409f-be17-819c503270ed", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.019 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030959.020 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.020 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wMjBaIiwgInVwZGF0ZV9pZCI6ICIwNGUxYWRjYy1jOTIzLTQxN2ItOGExNS00YWNmOGFmNmFhNWUiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030959.020 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.021 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.020Z", "update_id": "04e1adcc-c923-417b-8a15-4acf8af6aa5e", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.021 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260207_030959.021 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.021 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.022 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.022 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.022 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.022 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.022 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.037 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.037 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.037 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.038 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.038 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.038 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260207_030959.038 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.043 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.044 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.044 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.044 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wNDRaIiwgInVwZGF0ZV9pZCI6ICJmMmExMTRiZC0zMjQ1LTQ5ZmMtYmY1OC05YWE4MWVkMmI3OGIiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.045 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.044Z", "update_id": "f2a114bd-3245-49fc-bf58-9aa81ed2b78b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.045 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.044Z", "update_id": "f2a114bd-3245-49fc-bf58-9aa81ed2b78b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.045 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.046 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.044Z", "update_id": "f2a114bd-3245-49fc-bf58-9aa81ed2b78b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.046 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260207_030959.046 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260207_030959.047 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wNDdaIiwgInVwZGF0ZV9pZCI6ICIwZWNmZGUzMy1jYmRhLTQ5Y2QtOTIwNi1hN2VmZjY4MDNhOGIiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260207_030959.047 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.048 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.047Z", "update_id": "0ecfde33-cbda-49cd-9206-a7eff6803a8b", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.048 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.047Z", "update_id": "0ecfde33-cbda-49cd-9206-a7eff6803a8b", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.048 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260207_030959.048 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260207_030959.049 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.047Z", "update_id": "0ecfde33-cbda-49cd-9206-a7eff6803a8b", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.049 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20260207_030959.049 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.047Z", "update_id": "0ecfde33-cbda-49cd-9206-a7eff6803a8b", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.050 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.050 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.068 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 20260207_030959.068 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.071 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.071 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.071 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.072 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.072 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.072 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260207_030959.072 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.077 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260207_030959.077 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.077 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/"}}] 20260207_030959.078 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.078 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.078 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.078 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.086 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.087 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.087 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.088 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wODhaIiwgInVwZGF0ZV9pZCI6ICI0Yzk5ZDAyMy00ODNmLTQ2NWEtOTgzNi1mNDBjZmY4ZmVkMzkiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.088 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.088Z", "update_id": "4c99d023-483f-465a-9836-f40cff8fed39", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.088 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.088Z", "update_id": "4c99d023-483f-465a-9836-f40cff8fed39", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.089 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.089 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.089 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030959.089 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.088Z", "update_id": "4c99d023-483f-465a-9836-f40cff8fed39", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.090 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030959.090 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.090 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4wOTBaIiwgInVwZGF0ZV9pZCI6ICJmZTQyODEyNS0zNzZkLTRhYTgtYThiNS0zMDMzZmI0MTE4YzEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030959.091 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.091 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.090Z", "update_id": "fe428125-376d-4aa8-a8b5-3033fb4118c1", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.091 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260207_030959.092 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.092 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.092 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.092 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.092 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.092 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.093 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.109 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.110 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.110 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.110 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xMTBaIiwgInVwZGF0ZV9pZCI6ICI2OTYxNDhhYS04MGZmLTQxMGQtOWU1OS0yYWZmZDA0YjNkMjIiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.111 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.110Z", "update_id": "696148aa-80ff-410d-9e59-2affd04b3d22", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.111 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.110Z", "update_id": "696148aa-80ff-410d-9e59-2affd04b3d22", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.111 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.111 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {"timestamp": "2026-02-07T03:09:59.110Z", "update_id": "696148aa-80ff-410d-9e59-2affd04b3d22", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.112 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/"}}] 20260207_030959.112 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.112 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.112 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {"timestamp": "2026-02-07T03:09:59.110Z", "update_id": "696148aa-80ff-410d-9e59-2affd04b3d22", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.113 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.127 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260207_030959.128 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.128 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260207_030959.128 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.128 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.129 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.129 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.136 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.137 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.138 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.138 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xMzhaIiwgInVwZGF0ZV9pZCI6ICI5ZGU0YjY5Yi05NGQyLTQxZmEtOWI1Yy0wYWI3Mzc3M2JjM2IiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.138 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.138Z", "update_id": "9de4b69b-94d2-41fa-9b5c-0ab73773bc3b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.139 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.138Z", "update_id": "9de4b69b-94d2-41fa-9b5c-0ab73773bc3b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.139 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.139 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.138Z", "update_id": "9de4b69b-94d2-41fa-9b5c-0ab73773bc3b", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.140 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260207_030959.140 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260207_030959.140 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xNDBaIiwgInVwZGF0ZV9pZCI6ICJhNGYyNGE0ZS03MmFhLTRhNDMtODdlMy05YWVlZGNiMjVlZjkiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260207_030959.141 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.141 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.140Z", "update_id": "a4f24a4e-72aa-4a43-87e3-9aeedcb25ef9", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.141 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2'] 20260207_030959.141 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.140Z", "update_id": "a4f24a4e-72aa-4a43-87e3-9aeedcb25ef9", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.142 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.142 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.156 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.157 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.158 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.158 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xNThaIiwgInVwZGF0ZV9pZCI6ICIxNmYyZjIxOS1lYTdhLTQ5M2EtODVmMC0xNGYwYTMxYmRhZTkiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.158 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.158Z", "update_id": "16f2f219-ea7a-493a-85f0-14f0a31bdae9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.159 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.158Z", "update_id": "16f2f219-ea7a-493a-85f0-14f0a31bdae9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.159 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.159 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.158Z", "update_id": "16f2f219-ea7a-493a-85f0-14f0a31bdae9", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.160 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2"] 20260207_030959.160 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260207_030959.160 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xNjBaIiwgInVwZGF0ZV9pZCI6ICI0M2UwOWZhMC0yZjk3LTQ3OGMtOWNmNC02ZWVmMzlhY2EzZDIiLCAicG9saWNpZXNfY291bnQiOiAwLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}] 20260207_030959.161 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.161 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.160Z", "update_id": "43e09fa0-2f97-478c-9cf4-6eef39aca3d2", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.161 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.161 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030959.162 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.160Z", "update_id": "43e09fa0-2f97-478c-9cf4-6eef39aca3d2", "policies_count": 0, "action": "updated"}, "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"}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.162 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030959.162 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.163 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xNjJaIiwgInVwZGF0ZV9pZCI6ICJiZmM1OThlMy0zNDJkLTRmOGEtYWI3Yi02NTM5MDc2ODMxMWUiLCAicG9saWNpZXNfY291bnQiOiAyLCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030959.163 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.163 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.162Z", "update_id": "bfc598e3-342d-4f8a-ab7b-65390768311e", "policies_count": 2, "action": "updated"}, "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_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.164 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260207_030959.164 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.164 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.164 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.183 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260207_030959.184 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.184 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/"}}] 20260207_030959.184 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.184 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.185 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.185 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.194 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.195 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.195 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.195 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4xOTVaIiwgInVwZGF0ZV9pZCI6ICI2ZmE0OGQzMy0wMmU3LTRlZDEtODQxMC1kMDUxMDkzZWI1YzAiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.196 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.195Z", "update_id": "6fa48d33-02e7-4ed1-8410-d051093eb5c0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.196 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.195Z", "update_id": "6fa48d33-02e7-4ed1-8410-d051093eb5c0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.196 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.197 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {"timestamp": "2026-02-07T03:09:59.195Z", "update_id": "6fa48d33-02e7-4ed1-8410-d051093eb5c0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.197 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/"}}] 20260207_030959.197 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.197 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.197 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {"timestamp": "2026-02-07T03:09:59.195Z", "update_id": "6fa48d33-02e7-4ed1-8410-d051093eb5c0", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.198 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.212 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.213 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.214 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.214 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yMTRaIiwgInVwZGF0ZV9pZCI6ICI2ODQ4ZDQwMS1jMDY2LTQyNTktOTgzYS05NzBkNDdiODA3MmMiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.214 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.214Z", "update_id": "6848d401-c066-4259-983a-970d47b8072c", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.214Z", "update_id": "6848d401-c066-4259-983a-970d47b8072c", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}} 20260207_030959.215 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.216 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}} 20260207_030959.216 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": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.216 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.216 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.216 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.227 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.228 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.228 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.228 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yMjhaIiwgInVwZGF0ZV9pZCI6ICIyZGJjOTg3YS0zYzFkLTQ5YjQtOGMzYi1iMTg1OTM4MDFjYWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.229 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.228Z", "update_id": "2dbc987a-3c1d-49b4-8c3b-b18593801cad", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.229 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.228Z", "update_id": "2dbc987a-3c1d-49b4-8c3b-b18593801cad", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.229 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.229 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.230 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.230 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.228Z", "update_id": "2dbc987a-3c1d-49b4-8c3b-b18593801cad", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.230 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["<<>>"] 20260207_030959.230 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.231 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null}}], "duplicate": []} 20260207_030959.231 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.228Z", "update_id": "2dbc987a-3c1d-49b4-8c3b-b18593801cad", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.231 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.228Z", "update_id": "2dbc987a-3c1d-49b4-8c3b-b18593801cad", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.231 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": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.232 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.232 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.247 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.247 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) 20260207_030959.247 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) 20260207_030959.248 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.252 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.253 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.253 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.254 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yNTNaIiwgInVwZGF0ZV9pZCI6ICI5N2EzZDQ1NC1iYTIwLTQ0ZWYtYjdhMy1jNDA3MjI3MzIzYmEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.254 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.253Z", "update_id": "97a3d454-ba20-44ef-b7a3-c407227323ba", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.255 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.253Z", "update_id": "97a3d454-ba20-44ef-b7a3-c407227323ba", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.255 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.255 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.255 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030959.256 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.253Z", "update_id": "97a3d454-ba20-44ef-b7a3-c407227323ba", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.256 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030959.256 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.257 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yNTdaIiwgInVwZGF0ZV9pZCI6ICI4Y2NiYjE3ZC04YjM5LTRmZjItOTA0Zi0zYzFlNDgzMzQyYzYiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGx9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030959.257 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.258 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.257Z", "update_id": "8ccbb17d-8b39-4ff2-904f-3c1e483342c6", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.258 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260207_030959.258 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.259 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.259 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.259 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.259 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.260 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.260 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.277 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.278 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.278 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.278 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yNzhaIiwgInVwZGF0ZV9pZCI6ICJhMjQyNDAzMS1lY2M4LTQ3MTEtOTU2OC1iYmU3ZDk2OTg1YTUiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogImdhdGhlcmVkIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDQ6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260207_030959.279 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.278Z", "update_id": "a2424031-ecc8-4711-9568-bbe7d96985a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.279 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.278Z", "update_id": "a2424031-ecc8-4711-9568-bbe7d96985a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}} 20260207_030959.279 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}} 20260207_030959.279 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}] 20260207_030959.280 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260207_030959.280 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.278Z", "update_id": "a2424031-ecc8-4711-9568-bbe7d96985a5", "policies_count": 4, "action": "gathered"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.280 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260207_030959.280 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}} 20260207_030959.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": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0wN1QwMzowOTo1OS4yODFaIiwgInVwZGF0ZV9pZCI6ICI1ODkyZjZlZi01NGU2LTRhYmQtYmM5Zi02ZmQ4NGY2MDZjMWEiLCAicG9saWNpZXNfY291bnQiOiA0LCAiYWN0aW9uIjogInVwZGF0ZWQifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDY6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjEiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMDdUMDM6MDk6NTguOTI5WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbH0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsfQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260207_030959.281 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.282 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "policies_event": {"timestamp": "2026-02-07T03:09:59.281Z", "update_id": "5892f6ef-54e6-4abd-bc9f-6fd84f606c1a", "policies_count": 4, "action": "updated"}, "policies": {"monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}}}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260207_030959.282 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.282 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": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null}} 20260207_030959.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}} 20260207_030959.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}}} 20260207_030959.283 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.298 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.298 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) 20260207_030959.298 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) 20260207_030959.298 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260207_030959.302 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260207_030959.303 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.303 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/"}}] 20260207_030959.303 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260207_030959.303 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"} 20260207_030959.304 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "max_retries": null, "name": null}, "instance": {"runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-07T05:09:58.929Z", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-07T04:09:58.929Z", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-07T06:09:58.929Z", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-07T07:09:58.929Z", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null}}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name"}}}]}, "type": "node-instance", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-07T03:09:58.929Z", "policy_hello": "Lorem", "db_port": "123", "weather": "snow", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "name": "test_ms_name"}, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "package_version": null, "name": ""}, "task_id": null, "task_queue": null, "workflow_id": null} 20260207_030959.304 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear