20260404_031020.821 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260404_031020.822 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.822 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.822 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.823 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.823 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.829 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260404_031020.829 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.830 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260404_031020.830 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.830 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.830 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.830 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.837 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 20260404_031020.838 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.841 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.842 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.842 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.843 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjRlZjhhMjY5LWMyZmQtNGMyYy1hY2Q1LTQ0N2VhN2Y2ODJmNSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC44NDNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.843 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "4ef8a269-c2fd-4c2c-acd5-447ea7f682f5", "timestamp": "2026-04-04T03:10:20.843Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.844 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "4ef8a269-c2fd-4c2c-acd5-447ea7f682f5", "timestamp": "2026-04-04T03:10:20.843Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.844 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.844 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031020.844 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031020.845 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "4ef8a269-c2fd-4c2c-acd5-447ea7f682f5", "timestamp": "2026-04-04T03:10:20.843Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.845 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031020.845 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031020.845 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNzNkODk3NTUtODc4NC00MzdmLWIxMjUtYTBjNjczODVjYjMxIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjg0NVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.846 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.846 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "73d89755-8784-437f-b125-a0c67385cb31", "timestamp": "2026-04-04T03:10:20.845Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.847 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.848 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031020.848 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.863 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 20260404_031020.863 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.867 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.868 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.869 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.869 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImY3MTQwOWVmLWY3MjctNGE1Yi1iZTA3LTFjN2ZiMTE4ZjVmMyIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC44NjlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.869 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "f71409ef-f727-4a5b-be07-1c7fb118f5f3", "timestamp": "2026-04-04T03:10:20.869Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "f71409ef-f727-4a5b-be07-1c7fb118f5f3", "timestamp": "2026-04-04T03:10:20.869Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031020.870 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031020.871 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031020.871 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031020.871 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260404_031020.871 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20260404_031020.871 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.882 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.883 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.883 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.883 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjU4YjlkZDIxLTVjYWItNDZkYy05NDA2LTlhNmE4YzZmOTA2NiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC44ODNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.884 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "58b9dd21-5cab-46dc-9406-9a6a8c6f9066", "timestamp": "2026-04-04T03:10:20.883Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.884 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "58b9dd21-5cab-46dc-9406-9a6a8c6f9066", "timestamp": "2026-04-04T03:10:20.883Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.884 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.884 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "58b9dd21-5cab-46dc-9406-9a6a8c6f9066", "timestamp": "2026-04-04T03:10:20.883Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.885 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260404_031020.885 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260404_031020.885 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNWVjNzc1NWEtOGM1YS00OTg2LThlMTctNTg5OTY0ZjBlNWVhIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjg4NVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20260404_031020.886 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.886 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "5ec7755a-8c5a-4986-8e17-589964f0e5ea", "timestamp": "2026-04-04T03:10:20.885Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.887 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "5ec7755a-8c5a-4986-8e17-589964f0e5ea", "timestamp": "2026-04-04T03:10:20.885Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.887 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260404_031020.887 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260404_031020.887 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "5ec7755a-8c5a-4986-8e17-589964f0e5ea", "timestamp": "2026-04-04T03:10:20.885Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.888 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260404_031020.888 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies_event": {"action": "updated", "update_id": "5ec7755a-8c5a-4986-8e17-589964f0e5ea", "timestamp": "2026-04-04T03:10:20.885Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}} 20260404_031020.888 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.888 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.906 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.906 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.907 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.907 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.907 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260404_031020.907 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260404_031020.907 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.912 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.913 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.914 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.914 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjdlMDY4ZTdiLWRhOWUtNDBlMi05NTdkLWIwYTdiZmYyMzY4YiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC45MTRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.914 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "7e068e7b-da9e-40e2-957d-b0a7bff2368b", "timestamp": "2026-04-04T03:10:20.914Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.915 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "7e068e7b-da9e-40e2-957d-b0a7bff2368b", "timestamp": "2026-04-04T03:10:20.914Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.915 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.915 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "7e068e7b-da9e-40e2-957d-b0a7bff2368b", "timestamp": "2026-04-04T03:10:20.914Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.916 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260404_031020.916 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260404_031020.916 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiODc1ODQ4ZjEtNTM0OS00NzdkLTlkNzYtZDI3NmRiZjY2ODYwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjkxNloiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20260404_031020.917 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.917 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "875848f1-5349-477d-9d76-d276dbf66860", "timestamp": "2026-04-04T03:10:20.916Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.917 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}} 20260404_031020.917 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031020.917 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031020.918 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "875848f1-5349-477d-9d76-d276dbf66860", "timestamp": "2026-04-04T03:10:20.916Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.918 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031020.918 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031020.919 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiN2Q5NDg1ZmQtZjBlYS00OTU3LWFmYzEtZWNkOGNhYWE3YjRjIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjkxOFoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn19"}}] 20260404_031020.919 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.919 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "7d9485fd-f0ea-4957-afc1-ecd8caaa7b4c", "timestamp": "2026-04-04T03:10:20.918Z", "policies_count": 2}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "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_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.920 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260404_031020.920 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031020.920 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031020.920 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.939 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.940 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.941 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.941 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImZhY2VhODA0LWVjMjQtNDY3ZS1hMGIzLTcwZjczYzBmYjJmMSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC45NDFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.941 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "facea804-ec24-467e-a0b3-70f73c0fb2f1", "timestamp": "2026-04-04T03:10:20.941Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.942 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "facea804-ec24-467e-a0b3-70f73c0fb2f1", "timestamp": "2026-04-04T03:10:20.941Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.942 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.942 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031020.942 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031020.943 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "facea804-ec24-467e-a0b3-70f73c0fb2f1", "timestamp": "2026-04-04T03:10:20.941Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.943 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031020.943 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031020.943 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNmMzMDc5YWItODJiNC00NGQyLTg3M2MtNDk5MDI3MjlhZmMwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjk0M1oiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.944 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.944 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "6c3079ab-82b4-44d2-873c-49902729afc0", "timestamp": "2026-04-04T03:10:20.943Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031020.945 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031020.946 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.961 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260404_031020.961 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.961 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260404_031020.962 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.962 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.962 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.962 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.969 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.970 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) 20260404_031020.970 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) 20260404_031020.970 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.974 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.975 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.975 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.976 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjAxYTUzZjE4LTU2ZGMtNGI0My1hMGIyLTUzZTc1OGU0NGRlMiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMC45NzVaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031020.976 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "01a53f18-56dc-4b43-a0b2-53e758e44de2", "timestamp": "2026-04-04T03:10:20.975Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.976 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "01a53f18-56dc-4b43-a0b2-53e758e44de2", "timestamp": "2026-04-04T03:10:20.975Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031020.976 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031020.977 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "01a53f18-56dc-4b43-a0b2-53e758e44de2", "timestamp": "2026-04-04T03:10:20.975Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.977 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260404_031020.977 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.977 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.978 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "01a53f18-56dc-4b43-a0b2-53e758e44de2", "timestamp": "2026-04-04T03:10:20.975Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.978 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031020.992 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260404_031020.993 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.993 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260404_031020.993 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031020.993 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031020.994 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031020.994 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.001 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.001 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.001 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.001 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.002 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20260404_031021.002 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20260404_031021.002 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.005 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.006 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260404_031021.006 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.006 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260404_031021.006 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.011 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260404_031021.011 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.011 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260404_031021.011 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.012 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.012 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.012 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.020 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.021 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.021 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.021 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImMyNDcyMGU1LTczY2EtNDc4MS05NWJiLTQ2ZmI5MTlkYTUwZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4wMjFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.022 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "c24720e5-73ca-4781-95bb-46fb919da50d", "timestamp": "2026-04-04T03:10:21.021Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.022 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "c24720e5-73ca-4781-95bb-46fb919da50d", "timestamp": "2026-04-04T03:10:21.021Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.022 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.023 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "c24720e5-73ca-4781-95bb-46fb919da50d", "timestamp": "2026-04-04T03:10:21.021Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.023 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20260404_031021.023 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.023 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.024 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "c24720e5-73ca-4781-95bb-46fb919da50d", "timestamp": "2026-04-04T03:10:21.021Z", "policies_count": 4}, "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.024 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.038 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.038 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) 20260404_031021.038 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) 20260404_031021.038 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.043 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260404_031021.044 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.044 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20260404_031021.044 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.044 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.044 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.045 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.052 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.053 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.054 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.054 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImQwY2Q2NTgwLWNjMzEtNDIxNy1iNDM1LWRjN2IwNTBjM2U5MiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4wNTRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.054 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "d0cd6580-cc31-4217-b435-dc7b050c3e92", "timestamp": "2026-04-04T03:10:21.054Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.055 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "d0cd6580-cc31-4217-b435-dc7b050c3e92", "timestamp": "2026-04-04T03:10:21.054Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.055 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.055 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031021.055 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031021.056 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "d0cd6580-cc31-4217-b435-dc7b050c3e92", "timestamp": "2026-04-04T03:10:21.054Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.056 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031021.056 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031021.056 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNjliMjMxODAtMTk0Zi00NWIxLTk1N2ItZmNmOTAzMWU1YzIwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIxLjA1NloiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.057 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.057 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "69b23180-194f-45b1-957b-fcf9031e5c20", "timestamp": "2026-04-04T03:10:21.056Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.058 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031021.059 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.075 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.076 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.076 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.076 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImJiODM0YTBiLWQyMzAtNDk0OS1hNmI2LWM3ZGRhY2QzMGQ5OSIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4wNzZaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.077 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "bb834a0b-d230-4949-a6b6-c7ddacd30d99", "timestamp": "2026-04-04T03:10:21.076Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.077 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "bb834a0b-d230-4949-a6b6-c7ddacd30d99", "timestamp": "2026-04-04T03:10:21.076Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.077 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.078 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "bb834a0b-d230-4949-a6b6-c7ddacd30d99", "timestamp": "2026-04-04T03:10:21.076Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.078 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260404_031021.078 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260404_031021.078 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiZWVhZTdlMTQtOGI2ZS00M2VkLTg3ZDItMGQxOGE0NTlkYjU2IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIxLjA3OFoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20260404_031021.079 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.079 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "eeae7e14-8b6e-43ed-87d2-0d18a459db56", "timestamp": "2026-04-04T03:10:21.078Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.079 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031021.080 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031021.080 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "eeae7e14-8b6e-43ed-87d2-0d18a459db56", "timestamp": "2026-04-04T03:10:21.078Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.080 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031021.080 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031021.081 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNWQ0MDQ1NGMtODQ5MC00N2ZmLWI1N2MtZGIwOTNmNDliOWU5IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIxLjA4MVoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn19"}}] 20260404_031021.081 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.082 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "5d40454c-8490-47ff-b57c-db093f49b9e9", "timestamp": "2026-04-04T03:10:21.081Z", "policies_count": 2}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "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_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.082 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260404_031021.082 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031021.082 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031021.082 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.103 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.104 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.104 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.104 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImRlNWVlYTAxLTFhYjMtNGRjYy05ZjRjLTA2NGI3OWQ1NGY0MCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4xMDRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.105 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "de5eea01-1ab3-4dcc-9f4c-064b79d54f40", "timestamp": "2026-04-04T03:10:21.104Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.105 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "de5eea01-1ab3-4dcc-9f4c-064b79d54f40", "timestamp": "2026-04-04T03:10:21.104Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.105 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.105 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20260404_031021.105 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260404_031021.106 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "de5eea01-1ab3-4dcc-9f4c-064b79d54f40", "timestamp": "2026-04-04T03:10:21.104Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.106 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20260404_031021.106 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20260404_031021.107 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiYjQ1YWQ4OGQtNTE3YS00N2NmLTg5OGQtN2IwODNhZGJiNGQwIiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIxLjEwNloiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNC0wNFQwNDoxMDoyMC43OThaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn19"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.107 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.108 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "b45ad88d-517a-47cf-898d-7b083adbb4d0", "timestamp": "2026-04-04T03:10:21.106Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.108 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260404_031021.108 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20260404_031021.108 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20260404_031021.108 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.108 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.109 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20260404_031021.109 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20260404_031021.109 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.125 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.126 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.126 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.127 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjVlMDlmYTYwLTUyMWQtNDAwNy05OTRjLTI5OWRjMDY1ZTY3MCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4xMjZaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.127 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "5e09fa60-521d-4007-994c-299dc065e670", "timestamp": "2026-04-04T03:10:21.126Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.127 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "5e09fa60-521d-4007-994c-299dc065e670", "timestamp": "2026-04-04T03:10:21.126Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.128 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.128 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "5e09fa60-521d-4007-994c-299dc065e670", "timestamp": "2026-04-04T03:10:21.126Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.128 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260404_031021.129 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260404_031021.129 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNDYxNWU3ZDctZGYxNC00NGQzLTkzZDQtMzkwMjM2MDBmMzE0IiwgInRpbWVzdGFtcCI6ICIyMDI2LTA0LTA0VDAzOjEwOjIxLjEyOVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20260404_031021.129 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.130 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "updated", "update_id": "4615e7d7-df14-44d3-93d4-39023600f314", "timestamp": "2026-04-04T03:10:21.129Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.130 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260404_031021.130 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies_event": {"action": "updated", "update_id": "4615e7d7-df14-44d3-93d4-39023600f314", "timestamp": "2026-04-04T03:10:21.129Z", "policies_count": 0}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}}} 20260404_031021.130 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.130 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.145 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.146 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.146 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.147 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjg5YTExMzhlLWM4Y2UtNDQyZS1hYjljLWFmMjkyYTQyZThjNyIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4xNDdaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.147 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "89a1138e-c8ce-442e-ab9c-af292a42e8c7", "timestamp": "2026-04-04T03:10:21.147Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.147 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "89a1138e-c8ce-442e-ab9c-af292a42e8c7", "timestamp": "2026-04-04T03:10:21.147Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.148 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.148 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.148 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}] 20260404_031021.149 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "89a1138e-c8ce-442e-ab9c-af292a42e8c7", "timestamp": "2026-04-04T03:10:21.147Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.149 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20260404_031021.149 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}} 20260404_031021.149 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}, "policy_id": "monkeyed.Config_peach"}]} 20260404_031021.150 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "89a1138e-c8ce-442e-ab9c-af292a42e8c7", "timestamp": "2026-04-04T03:10:21.147Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.150 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "89a1138e-c8ce-442e-ab9c-af292a42e8c7", "timestamp": "2026-04-04T03:10:21.147Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.150 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.151 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.151 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260404_031021.168 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.169 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260404_031021.169 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"} 20260404_031021.169 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImJkZjJhM2UzLTk5NTEtNDA2My1hNDgzLTNmNTJkMjJjMTRjYiIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNC0wNFQwMzoxMDoyMS4xNjlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA0OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDAzOjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA0LTA0VDA2OjEwOjIwLjc5OFoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfYm90aC40LnhtbCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9"}}] 20260404_031021.170 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2026-04-04T05:10:20.798Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2026-04-04T07:10:20.798Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "type": "JSON", "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {"action": "gathered", "update_id": "bdf2a3e3-9951-4063-a483-3f52d22c14cb", "timestamp": "2026-04-04T03:10:21.169Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}}}, "task_name": null, "task_queue": null, "workflow_id": null} 20260404_031021.170 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies_event": {"action": "gathered", "update_id": "bdf2a3e3-9951-4063-a483-3f52d22c14cb", "timestamp": "2026-04-04T03:10:21.169Z", "policies_count": 4}, "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}}} 20260404_031021.170 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2026-04-04T06:10:20.798Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_peach": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2026-04-04T03:10:20.798Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"property": null, "responseAttributes": {}, "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2026-04-04T04:10:20.798Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! "}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}} 20260404_031021.170 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear