20260502_031226.679 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260502_031226.680 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance"} 20260502_031226.680 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260502_031226.680 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.680 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.681 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies_event": {}}}, "type": "node-instance"} 20260502_031226.681 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.686 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.687 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) 20260502_031226.687 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) 20260502_031226.687 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.690 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.691 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.691 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.691 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "type": "node-instance"} 20260502_031226.691 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260502_031226.692 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260502_031226.692 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.697 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260502_031226.697 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance"} 20260502_031226.698 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260502_031226.698 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.698 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.698 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies_event": {}}}, "type": "node-instance"} 20260502_031226.699 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.707 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260502_031226.707 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "type": "node-instance"} 20260502_031226.707 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.708 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.708 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.708 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.716 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.717 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.717 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.718 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNzE4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2UwNzM4ZTgtZDk1OS00ZTY5LTgzY2MtYmE3NWYyOWZmOTBkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.718 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.718Z", "policies_count": 4, "update_id": "7e0738e8-d959-4e69-83cc-ba75f29ff90d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.719 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.718Z", "policies_count": 4, "update_id": "7e0738e8-d959-4e69-83cc-ba75f29ff90d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.719 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.719 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.720 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}] 20260502_031226.721 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.718Z", "policies_count": 4, "update_id": "7e0738e8-d959-4e69-83cc-ba75f29ff90d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.721 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20260502_031226.721 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}} 20260502_031226.721 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}], "duplicate": []} 20260502_031226.722 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.718Z", "policies_count": 4, "update_id": "7e0738e8-d959-4e69-83cc-ba75f29ff90d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.722 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.718Z", "policies_count": 4, "update_id": "7e0738e8-d959-4e69-83cc-ba75f29ff90d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.722 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.723 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.740 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance"} 20260502_031226.740 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) 20260502_031226.740 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) 20260502_031226.740 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.745 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.746 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.746 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.746 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNzQ2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjkxZjY0NTEtYjMxZS00ZTUzLTk5MzQtOTU3ZjM5ZWEzZmNkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.747 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.746Z", "policies_count": 4, "update_id": "691f6451-b31e-4e53-9934-957f39ea3fcd"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.747 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.746Z", "policies_count": 4, "update_id": "691f6451-b31e-4e53-9934-957f39ea3fcd"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.747 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.747 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031226.747 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031226.748 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.746Z", "policies_count": 4, "update_id": "691f6451-b31e-4e53-9934-957f39ea3fcd"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.748 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031226.748 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031226.749 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi43NDlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxMzEzZjEwMC05NWNmLTQzODEtOGQxOS1mYTc5Mjk4NmIwN2YifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260502_031226.749 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.750 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.749Z", "policies_count": 4, "update_id": "1313f100-95cf-4381-8d19-fa792986b07f"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.750 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260502_031226.750 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.750 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.750 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.751 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true} 20260502_031226.751 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.751 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true} 20260502_031226.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.766 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance"} 20260502_031226.766 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260502_031226.767 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "type": "node-instance"} 20260502_031226.767 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260502_031226.767 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.771 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 20260502_031226.771 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.774 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 20260502_031226.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.777 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260502_031226.778 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance"} 20260502_031226.778 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260502_031226.778 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.779 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.779 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies_event": {}}}, "type": "node-instance"} 20260502_031226.779 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.788 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.789 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.789 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNzg5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTcxOTYwYzAtM2Y2OC00ZmM0LWI2MDgtNDIwOGQ2MzUwYWY2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.790 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.789Z", "policies_count": 4, "update_id": "571960c0-3f68-4fc4-b608-4208d6350af6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.790 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.789Z", "policies_count": 4, "update_id": "571960c0-3f68-4fc4-b608-4208d6350af6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.790 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.790 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031226.790 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031226.791 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.789Z", "policies_count": 4, "update_id": "571960c0-3f68-4fc4-b608-4208d6350af6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.791 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031226.791 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031226.792 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi43OTJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzMTg3NjcxYS1hM2U4LTRjZGQtOWJmNi00M2JhNjIzNjA1YzQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04ifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260502_031226.792 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.793 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.792Z", "policies_count": 4, "update_id": "3187671a-a3e8-4cdd-9bf6-43ba623605c4"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.793 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260502_031226.793 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.793 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.793 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.794 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true} 20260502_031226.794 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.794 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true} 20260502_031226.794 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.811 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.812 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.812 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.812 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuODEyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmZiOTc2N2EtNTBmYy00MTY3LThiYWYtNmUyYjZhZDk5N2IzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.813 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.812Z", "policies_count": 4, "update_id": "ffb9767a-50fc-4167-8baf-6e2b6ad997b3"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.813 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.812Z", "policies_count": 4, "update_id": "ffb9767a-50fc-4167-8baf-6e2b6ad997b3"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.813 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.814 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.812Z", "policies_count": 4, "update_id": "ffb9767a-50fc-4167-8baf-6e2b6ad997b3"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.814 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260502_031226.814 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.814 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.815 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.812Z", "policies_count": 4, "update_id": "ffb9767a-50fc-4167-8baf-6e2b6ad997b3"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.815 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.830 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.831 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.832 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.832 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuODMyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzQ5ZTY2MDUtMzYwOC00OWIwLWIyYzctZjI4YWMyNDIwMDM0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.833 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.832Z", "policies_count": 4, "update_id": "349e6605-3608-49b0-b2c7-f28ac2420034"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.833 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.832Z", "policies_count": 4, "update_id": "349e6605-3608-49b0-b2c7-f28ac2420034"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.833 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.834 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.832Z", "policies_count": 4, "update_id": "349e6605-3608-49b0-b2c7-f28ac2420034"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.834 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"] 20260502_031226.834 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260502_031226.835 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi44MzRaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJkZmExNWYwNS1hZmE2LTQ1ZGEtYTNkZi03MzYyMmY4NzQ4MDIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260502_031226.835 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.835 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.834Z", "policies_count": 0, "update_id": "dfa15f05-afa6-45da-a3df-73622f874802"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.836 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260502_031226.836 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.834Z", "policies_count": 0, "update_id": "dfa15f05-afa6-45da-a3df-73622f874802"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.836 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.836 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.851 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260502_031226.852 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance"} 20260502_031226.852 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260502_031226.852 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.852 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.853 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies_event": {}}}, "type": "node-instance"} 20260502_031226.853 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.861 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.862 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.863 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.863 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuODYzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTQ4N2FlNjItYTlmMC00ZDRhLWFjYzAtYjY0MmZkMTNmMzNlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.863 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.863Z", "policies_count": 4, "update_id": "9487ae62-a9f0-4d4a-acc0-b642fd13f33e"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.864 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.863Z", "policies_count": 4, "update_id": "9487ae62-a9f0-4d4a-acc0-b642fd13f33e"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.864 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.864 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.863Z", "policies_count": 4, "update_id": "9487ae62-a9f0-4d4a-acc0-b642fd13f33e"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.865 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260502_031226.865 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.865 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.865 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.863Z", "policies_count": 4, "update_id": "9487ae62-a9f0-4d4a-acc0-b642fd13f33e"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.866 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.881 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.882 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.882 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.883 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuODgyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzFiYWM4MmItZDBhYi00Yjg0LTk0NWQtY2IwY2MyOGVlZGE2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.883 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.882Z", "policies_count": 4, "update_id": "c1bac82b-d0ab-4b84-945d-cb0cc28eeda6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.883 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.882Z", "policies_count": 4, "update_id": "c1bac82b-d0ab-4b84-945d-cb0cc28eeda6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.884 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.884 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.882Z", "policies_count": 4, "update_id": "c1bac82b-d0ab-4b84-945d-cb0cc28eeda6"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.884 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"] 20260502_031226.885 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260502_031226.885 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi44ODVaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJhZTE0MTAxZi01ZWU3LTQxYjYtYTE0Zi02YTNiOTc1OWM3MzIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260502_031226.885 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.886 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.885Z", "policies_count": 0, "update_id": "ae14101f-5ee7-41b6-a14f-6a3b9759c732"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.886 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031226.886 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031226.887 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.885Z", "policies_count": 0, "update_id": "ae14101f-5ee7-41b6-a14f-6a3b9759c732"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.887 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031226.887 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031226.888 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi44ODdaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIyMmU3ZGM5MS0xMDNmLTQ2NTQtODQ0ZS00YjFiMzdhMjc5NDgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260502_031226.888 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.888 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.887Z", "policies_count": 2, "update_id": "22e7dc91-103f-4654-844e-4b1b37a27948"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.889 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260502_031226.889 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.889 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.889 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.911 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.912 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.913 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.913 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuOTEzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGM0ZTM2NjUtMzcwNi00NzRmLTgyYmMtOTFhOGE3MzE0ZDg2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.913 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.913Z", "policies_count": 4, "update_id": "8c4e3665-3706-474f-82bc-91a8a7314d86"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.914 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.913Z", "policies_count": 4, "update_id": "8c4e3665-3706-474f-82bc-91a8a7314d86"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.914 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.914 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031226.914 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031226.915 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.913Z", "policies_count": 4, "update_id": "8c4e3665-3706-474f-82bc-91a8a7314d86"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.915 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031226.915 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031226.915 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi45MTVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI0YjI1OTNjYi0xMzA3LTRlOTYtYmE3NC0yYWVhZjk3MzYzOTEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260502_031226.916 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.916 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.915Z", "policies_count": 4, "update_id": "4b2593cb-1307-4e96-ba74-2aeaf9736391"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true} 20260502_031226.917 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.918 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true} 20260502_031226.918 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.934 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.935 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.935 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.936 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuOTM1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGUyZGIyNWQtYzAxNC00YzU1LWIwOGYtY2ExOTg4OGRhYmIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.936 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.935Z", "policies_count": 4, "update_id": "8e2db25d-c014-4c55-b08f-ca19888dabb1"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.936 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.935Z", "policies_count": 4, "update_id": "8e2db25d-c014-4c55-b08f-ca19888dabb1"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.936 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.937 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true} 20260502_031226.938 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.938 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false} 20260502_031226.938 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.948 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.949 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.950 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.950 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuOTUwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmFiZGJiMzQtNDNjMi00M2M1LTkzMGItMzg0Y2RiZTYyMzY4In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.950 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.950Z", "policies_count": 4, "update_id": "babdbb34-43c2-43c5-930b-384cdbe62368"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.951 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.950Z", "policies_count": 4, "update_id": "babdbb34-43c2-43c5-930b-384cdbe62368"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.951 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.951 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.961 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.962 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.962 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.962 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuOTYyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmJiNDQ5ZDgtZTMxNS00ZWQ0LTgyMGYtNWIwN2VlNDJkNzlhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031226.963 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.962Z", "policies_count": 4, "update_id": "6bb449d8-e315-4ed4-820f-5b07ee42d79a"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.963 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.962Z", "policies_count": 4, "update_id": "6bb449d8-e315-4ed4-820f-5b07ee42d79a"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031226.963 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031226.963 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031226.963 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031226.964 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.962Z", "policies_count": 4, "update_id": "6bb449d8-e315-4ed4-820f-5b07ee42d79a"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.964 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031226.964 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031226.965 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNi45NjVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmODZmMmZhYy01ZmNiLTRhMGItOTY5MC0xNWJkNDE2NDdmM2QifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260502_031226.965 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.966 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:26.965Z", "policies_count": 4, "update_id": "f86f2fac-5fcb-4a0b-9690-15bd41647f3d"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031226.966 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260502_031226.966 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031226.966 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.966 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.967 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true} 20260502_031226.967 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031226.967 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true} 20260502_031226.967 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.983 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260502_031226.983 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "type": "node-instance"} 20260502_031226.984 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260502_031226.984 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.984 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.984 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies_event": {}}}, "type": "node-instance"} 20260502_031226.985 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.992 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.992 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.992 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031226.992 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "type": "node-instance"} 20260502_031226.993 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260502_031226.993 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260502_031226.993 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031226.998 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031226.999 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031226.999 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.000 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuOTk5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTM2ZmE1N2UtMDcwZi00MTIzLWIyMTMtZDBhNTRhNzJjMGE5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031227.000 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.999Z", "policies_count": 4, "update_id": "936fa57e-070f-4123-b213-d0a54a72c0a9"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.999Z", "policies_count": 4, "update_id": "936fa57e-070f-4123-b213-d0a54a72c0a9"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031227.001 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031227.001 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:26.999Z", "policies_count": 4, "update_id": "936fa57e-070f-4123-b213-d0a54a72c0a9"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.001 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"] 20260502_031227.002 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260502_031227.002 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNy4wMDJaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzM2M4ZDNlZS0wOTRlLTQ4ODktYTIxMS03Y2JlY2Q5ZTQxOTUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260502_031227.002 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.003 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.002Z", "policies_count": 0, "update_id": "33c8d3ee-094e-4889-a211-7cbecd9e4195"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.003 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260502_031227.003 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}] 20260502_031227.003 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260502_031227.004 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.002Z", "policies_count": 0, "update_id": "33c8d3ee-094e-4889-a211-7cbecd9e4195"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.004 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260502_031227.004 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}} 20260502_031227.004 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNy4wMDRaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIwNmNhNDk0Yi04NWQyLTRhNmMtOTdiMC1mYzQ3MzQ3NjUxNDYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260502_031227.005 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.005 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.004Z", "policies_count": 2, "update_id": "06ca494b-85d2-4a6c-97b0-fc4734765146"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.005 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260502_031227.006 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": false} 20260502_031227.006 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}, "policy_persistent": true} 20260502_031227.006 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260502_031227.027 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "type": "node-instance"} 20260502_031227.028 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260502_031227.028 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.028 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDUtMDJUMDM6MTI6MjcuMDI4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjQwN2Q0ZmQtYjJmYy00OWU3LWJmODktY2U5MGQyY2UwOTBjIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0wMlQwNjoxMjoyNi42NTVaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA2OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMDJUMDM6MTI6MjYuNjU1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTAyVDA0OjEyOjI2LjY1NVoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260502_031227.029 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:27.028Z", "policies_count": 4, "update_id": "6407d4fd-b2fc-49e7-bf89-ce90d2ce090c"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.029 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:27.028Z", "policies_count": 4, "update_id": "6407d4fd-b2fc-49e7-bf89-ce90d2ce090c"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031227.029 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}} 20260502_031227.030 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both"}}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2026-05-02T03:12:27.028Z", "policies_count": 4, "update_id": "6407d4fd-b2fc-49e7-bf89-ce90d2ce090c"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.030 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"] 20260502_031227.031 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260502_031227.031 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0wMlQwMzoxMjoyNy4wMzFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlZjc4NjZjMS01ZDRhLTQyZTAtOGQwMi0xYjBkOTU4MDg0ZTAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260502_031227.031 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.032 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.031Z", "policies_count": 0, "update_id": "ef7866c1-5d4a-42e0-8d02-1b0d958084e0"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.032 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.031Z", "policies_count": 0, "update_id": "ef7866c1-5d4a-42e0-8d02-1b0d958084e0"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.032 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"] 20260502_031227.033 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260502_031227.033 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "node": {"name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}, "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type"}, "task_queue": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_id": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2026-05-02T05:12:26.655Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2026-05-02T04:12:26.655Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-02T06:12:26.655Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2026-05-02T07:12:26.655Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON"}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.031Z", "policies_count": 0, "update_id": "ef7866c1-5d4a-42e0-8d02-1b0d958084e0"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}}}, "type": "node-instance"} 20260502_031227.033 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260502_031227.033 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2026-05-02T03:12:27.031Z", "policies_count": 0, "update_id": "ef7866c1-5d4a-42e0-8d02-1b0d958084e0"}, "service_component_name": "unit_test_scn", "application_config": {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"}} 20260502_031227.034 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-02T03:12:26.655Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_updated_to_ver": "1"} 20260502_031227.034 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear